package com.tledu.springboot04.domain;

import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class Resources {
    private Integer id;
    private String resName;
    private String resUrl;
    private Integer resType;
    private String resIntro;
    private String resPerm;
    private String resIcon;
    private Integer resSort;
    private Integer parentId;
    private Integer status;
    private Integer delState;
    private Date createTime;
    private Date updateTime;

    //生成树的使用使用到的字段
    private List<Resources> childrenList = new ArrayList<>();
}
